package com.loong.job.handler;



/**
 * @Description:
 * @Author: hzp
 * @Date: 2021-1-4 9:02
 */
//@Slf4j
//@Component
public class OrderHandler {

//    @DubboReference(timeout = 5000, retries = 1)
//    private IOrderJobService iOrderJobService;
//
//    @DubboReference(timeout = 5000, retries = 1)
//    private IOrderDBService iOrderDBService;
//
//    @XxlJob("checkTimeAndExecutor")
//    public ReturnT<String> checkTimeAndExecutor() {
//        iOrderJobService.checkTimeAndExecutor();
//        return new ReturnT(ReturnT.SUCCESS_CODE,"检查本地缓存order订单成功 ES");
//    }
//
//    @XxlJob("checkTimeAndExecutorDB")
//    public ReturnT<String> checkTimeAndExecutorDB() {
//        iOrderDBService.checkTimeAndExecutor();
//        return new ReturnT(ReturnT.SUCCESS_CODE,"检查本地缓存order订单成功 DB");
//    }
}
